package com.codeplay.service;

import com.codeplay.entity.Content;
import java.util.List;

public interface ContentService {
    Content createContent(Content content);
    Content getContentById(Long id);
    List<Content> getContentsByChapterId(Long chapterId);
    Content updateContent(Content content);
    void deleteContent(Long id);
    Content getNextContent(Long chapterId, Integer currentOrderIndex);
    Content getPreviousContent(Long chapterId, Integer currentOrderIndex);
} 